home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Games / Cthangband400 / user / pref.prf < prev    next >
Text File  |  1999-06-07  |  2KB  |  248 lines

  1. # File: pref.prf
  2.  
  3. #
  4. # This file defines "default" actions of various kinds
  5. #
  6. # This file includes, if appropriate, various "sub-files"
  7. #
  8. # See "lib/help/command.txt" and "src/files.c" for more information.
  9. #
  10. # Note that the "X" key is mapped in both keysets to the key sequence
  11. # "w0", which will "swap weapons" as long as both weapons contain the
  12. # inscription "@0".  For example, inscribe your main weapon as "@1@0"
  13. # and your digger (or secondary weapon) as "@2@0".
  14. #
  15.  
  16.  
  17. ##### Force certain options #####
  18.  
  19. ## # Option -- Default to original commands
  20. ## X:rogue_like_commands
  21.  
  22. ## # Option -- Default to roguelike commands
  23. ## Y:rogue_like_commands
  24.  
  25.  
  26. ##### Original Keyset Mappings #####
  27.  
  28. # Stay still
  29. A:,
  30. C:0:5
  31.  
  32. # Movement
  33. A:;1
  34. C:0:1
  35. A:;2
  36. C:0:2
  37. A:;3
  38. C:0:3
  39. A:;4
  40. C:0:4
  41. A:;6
  42. C:0:6
  43. A:;7
  44. C:0:7
  45. A:;8
  46. C:0:8
  47. A:;9
  48. C:0:9
  49.  
  50. # Hack -- Return
  51. A:\r
  52. C:0:^J
  53.  
  54. # Hack -- Commit suicide
  55. A:Q
  56. C:0:^K
  57.  
  58. # Hack -- Commit suicide
  59. A:Q
  60. C:0:^C
  61.  
  62. # Hack -- swap equipment
  63. A:w0
  64. C:0:X
  65.  
  66.  
  67. ##### Roguelike Keyset Mappings #####
  68.  
  69. # Run
  70. A:.
  71. C:1:,
  72.  
  73. # Stay still
  74. A:,
  75. C:1:.
  76.  
  77. # Stay still
  78. A:,
  79. C:1:5
  80.  
  81. # Movement
  82. A:;1
  83. C:1:1
  84. A:;2
  85. C:1:2
  86. A:;3
  87. C:1:3
  88. A:;4
  89. C:1:4
  90. A:;6
  91. C:1:6
  92. A:;7
  93. C:1:7
  94. A:;8
  95. C:1:8
  96. A:;9
  97. C:1:9
  98.  
  99. # Movement (rogue keys)
  100. A:;1
  101. C:1:b
  102. A:;2
  103. C:1:j
  104. A:;3
  105. C:1:n
  106. A:;4
  107. C:1:h
  108. A:;6
  109. C:1:l
  110. A:;7
  111. C:1:y
  112. A:;8
  113. C:1:k
  114. A:;9
  115. C:1:u
  116.  
  117. # Running (shift + rogue keys)
  118. A:.1
  119. C:1:B
  120. A:.2
  121. C:1:J
  122. A:.3
  123. C:1:N
  124. A:.4
  125. C:1:H
  126. A:.6
  127. C:1:L
  128. A:.7
  129. C:1:Y
  130. A:.8
  131. C:1:K
  132. A:.9
  133. C:1:U
  134.  
  135. # Altering (control + rogue keys)
  136. A:+1
  137. C:1:^B
  138. A:+2
  139. C:1:^J
  140. A:+3
  141. C:1:^N
  142. A:+4
  143. C:1:^H
  144. A:+6
  145. C:1:^L
  146. A:+7
  147. C:1:^Y
  148. A:+8
  149. C:1:^K
  150. A:+9
  151. C:1:^U
  152.  
  153. # Allow use of the "tunnel" command
  154. A:T
  155. C:1:^T
  156.  
  157. # Allow use of the "destroy" command
  158. A:k
  159. C:1:^D
  160.  
  161. # Locate player on map
  162. A:L
  163. C:1:W
  164.  
  165. # Browse a book (Peruse)
  166. A:b
  167. C:1:P
  168.  
  169. # Jam a door (Spike)
  170. A:j
  171. C:1:S
  172.  
  173. # Toggle search mode
  174. A:S
  175. C:1:#
  176.  
  177. # Use a staff (Zap)
  178. A:u
  179. C:1:Z
  180.  
  181. # Take off equipment
  182. A:t
  183. C:1:T
  184.  
  185. # Fire an item
  186. A:f
  187. C:1:t
  188.  
  189. # Bash a door (Force)
  190. A:B
  191. C:1:f
  192.  
  193. # Look around (examine)
  194. A:l
  195. C:1:x
  196.  
  197. # Aim a wand (Zap)
  198. A:a
  199. C:1:z
  200.  
  201. # Zap a rod (Activate)
  202. A:z
  203. C:1:a
  204.  
  205. # Hack -- Commit suicide
  206. A:Q
  207. C:1:^C
  208.  
  209. # Hack -- swap equipment
  210. A:w0
  211. C:1:X
  212.  
  213. # Hack - race/mutation power activation
  214. A:U
  215. C:1:O
  216.  
  217. # Hack - race/mutation power activation
  218. A:^t
  219. C:1:'
  220.  
  221.  
  222. ##### System Specific Subfiles #####
  223.  
  224. ?:[IOR [EQU $SYS xaw] [EQU $SYS x11]]
  225. %:pref-x11.prf
  226.  
  227. ?:[EQU $SYS gcu]
  228. %:pref-gcu.prf
  229.  
  230. ?:[EQU $SYS ami]
  231. %:pref-ami.prf
  232.  
  233. ?:[EQU $SYS mac]
  234. %:pref-mac.prf
  235.  
  236. ?:[IOR [EQU $SYS win] [EQU $SYS dos] [EQU $SYS ibm]]
  237. %:pref-win.prf
  238.  
  239. ?:[EQU $SYS emx]
  240. %:pref-emx.prf
  241.  
  242. ?:[EQU $SYS acn]
  243. %:pref-acn.prf
  244.  
  245. ?:1
  246.  
  247.  
  248.